package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import com.mbc.common.param.CriteriaParams;
import com.mbc.rmt.data.CashPaymentBySentDataList;
import com.mbc.rmt.entities.CashPaymentBySent;
import com.mbc.rmt.entities.CashPaymentBySentDetail;

public interface CashPaymentBySentDAO {
	
	public void create(CashPaymentBySent entity)throws SQLException;
	public void update(CashPaymentBySent entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public CashPaymentBySent find(long key)throws SQLException;
	public List<CashPaymentBySent> findAll()throws SQLException;
	public CashPaymentBySentDataList findCashPaymentBySents(CriteriaParams cri)throws SQLException;
	public CashPaymentBySent getCashPaymentBySent(String code) throws SQLException;
	public ArrayList<CashPaymentBySentDetail> findCashPaymentBySentDetails(long cashPaymentBySentID) throws SQLException;

}
